<!DOCTYPE html>
<html lang="en">
  <meta http-equiv="content-type" content="text/html;charset=UTF-8" />
  
  <head>
    <title>Lion</title>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=0, minimal-ui">
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <link rel="icon" href="/static/assets/images/favicon.ico" type="image/x-icon">
    <link rel="stylesheet" href="/static/fonts/css0f7c.css?family=Open+Sans:300,400,600,700,800">
    <link rel="stylesheet" href="/static/fonts/css1180.css?family=Quicksand:500,700">
    <link rel="stylesheet" type="text/css" href="/static/bower_components/bootstrap/css/bootstrap.min.css">
    <link rel="stylesheet" type="text/css" href="/static/assets/pages/waves/css/waves.min.css" media="all">
    <link rel="stylesheet" type="text/css" href="/static/assets/icon/feather/css/feather.css">
    <link rel="stylesheet" type="text/css" href="/static/assets/icon/themify-icons/themify-icons.css">
    <link rel="stylesheet" type="text/css" href="/static/assets/icon/icofont/css/icofont.css">
    <link rel="stylesheet" type="text/css" href="/static/assets/icon/font-awesome/css/font-awesome.min.css">
    <link rel="stylesheet" type="text/css" href="/static/assets/css/style.css">
    <link rel="stylesheet" type="text/css" href="/static/assets/css/pages.css">
  </head>
  
  <body themebg-pattern="theme1">
    <div class="theme-loader">
      <div class="loader-track">
        <div class="preloader-wrapper">
          <div class="spinner-layer spinner-blue">
            <div class="circle-clipper left">
              <div class="circle"></div>
            </div>
            <div class="gap-patch">
              <div class="circle"></div>
            </div>
            <div class="circle-clipper right">
              <div class="circle"></div>
            </div>
          </div>
          <div class="spinner-layer spinner-red">
            <div class="circle-clipper left">
              <div class="circle"></div>
            </div>
            <div class="gap-patch">
              <div class="circle"></div>
            </div>
            <div class="circle-clipper right">
              <div class="circle"></div>
            </div>
          </div>
          <div class="spinner-layer spinner-yellow">
            <div class="circle-clipper left">
              <div class="circle"></div>
            </div>
            <div class="gap-patch">
              <div class="circle"></div>
            </div>
            <div class="circle-clipper right">
              <div class="circle"></div>
            </div>
          </div>
          <div class="spinner-layer spinner-green">
            <div class="circle-clipper left">
              <div class="circle"></div>
            </div>
            <div class="gap-patch">
              <div class="circle"></div>
            </div>
            <div class="circle-clipper right">
              <div class="circle"></div>
            </div>
          </div>
        </div>
      </div>
    </div>
    <section class="login-block">
      <div class="container-fluid">
        <div class="row">
          <div class="col-sm-12">
            <form class="md-float-material form-material" role="form" method="post" action="{% url 'login' %}">
              {% csrf_token %}
              <div class="text-center">
                <img src="/static/assets/images/logo.png" alt="logo.png"></div>
              <div class="auth-box card">
                <div class="card-block">
                  <div class="row m-b-20"></div>
                  <p class="text-muted text-center p-b-5">请登录你的账号</p>
                  <div class="form-group form-primary">
                    <input type="text" name="username" class="form-control" required="">
                    <span class="form-bar"></span>
                  </div>
                  <div class="form-group form-primary">
                    <input type="password" name="password" class="form-control" required="">
                    <span class="form-bar"></span>
                  </div>

                  <div class="row m-t-30">
                    <div class="col-md-12">
                      <button type="submit" class="btn btn-primary btn-md btn-block waves-effect text-center m-b-20">登录</button>
                    </div>
                  </div>
                  {% if message %}  
                  <h5 class="text-inverse text-left" color="#FF0000" font-size:"13px" ><b>{{ message }} </b></h5>
                  {% endif %}
                </div>
              </div>
            </form>
          </div>
        </div>
      </div>
      </div>
    </section>
    <script type="text/javascript" src="/static/bower_components/jquery/js/jquery.min.js"></script>
    <script type="text/javascript" src="/static/bower_components/jquery-ui/js/jquery-ui.min.js"></script>
    <script type="text/javascript" src="/static/bower_components/popper.js/js/popper.min.js"></script>
    <script type="text/javascript" src="/static/bower_components/bootstrap/js/bootstrap.min.js"></script>
    <script type="text/javascript" src="/static/assets/pages/waves/js/waves.min.js"></script>
    <script type="text/javascript" src="/static/bower_components/jquery-slimscroll/js/jquery.slimscroll.js"></script>
    <script type="text/javascript" src="/static/bower_components/modernizr/js/modernizr.js"></script>
    <script type="text/javascript" src="/static/bower_components/modernizr/js/css-scrollbars.js"></script>
    <script type="text/javascript" src="/static/assets/js/common-pages.js"></script>

</html>